﻿ 

	
<!DOCTYPE html>  
<html>  
<head>  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
    <meta name="keywords" content="职位">  
    <meta name="description" content="职位">  
    <title>职位管理</title>  
    
    <%@ include file="/WEB-INF/inc/default.jsp"%>
    <jsp:include page="/WEB-INF/inc/dic.jsp"/>

</head>  
<body>  
    
      
    <table id="dg" title="职位管理" style="width:1100px;height:250px"  
            url="/project/contractJob/list.do"  
            toolbar="#toolbar" pagination="true"  
            rownumbers="true" fitColumns="true" loadMsg="正在查询,请稍候..." singleSelect="false">  

    </table>  
    <div id="toolbar">  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="add()">新增</a>  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="edit()">修改</a>  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="deletes()">删除</a>  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="find()">查询</a>
    </div>  
    <!-- edit form窗体（开始） -->  
    <div id="dlg" class="easyui-dialog" style="width:600px;height:280px;padding:10px 20px"  
            closed="true" buttons="#dlg-buttons">  
        <form id="fm" method="post" novalidate>  
        	  	  	 <input type="hidden" name="id" > 
	        		     <div class="fitem">  
                     <label style="width:100px">BD客户id<font color="red">*</font>:</label>                       
                     <input name="custId" class="easyui-numberbox easyui-validatebox"  required="true">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">contractId:</label>                       
                     <input name="contractId" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位名<font color="red">*</font>:</label>                                            
                     <input name="name" class="easyui-box easyui-validatebox"  required="true">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">关注度:</label>                       
                     <input name="dispLevel" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">trialMonths:</label>                       
                     <input name="trialMonths" class="easyui-numberbox">                       
                   </div>	        		     
        	  	   	 <div class="fitem">  
                     <label style="width:100px">行业id<font color="red">*</font>:</label>  
                     <input class="easyui-combobox"  required="true" name="industry" style="width:200px;"  data-options="data:__getCategory('INDUSTRY'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                   </div>  	        	  	   	
        	  	   	 <div class="fitem">  
                     <label style="width:100px">职能id<font color="red">*</font>:</label>  
                     <input class="easyui-combobox"  required="true" name="function" style="width:200px;"  data-options="data:__getCategory('JOB'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                   </div>  	        	  	   	
        	  	   	 <div class="fitem">  
                     <label style="width:100px">职级id<font color="red">*</font>:</label>  
                     <input class="easyui-combobox"  required="true" name="level" style="width:200px;"  data-options="data:__getCategory('JOBLEVEL'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                   </div>  	        	  	   	
	        		     <div class="fitem">  
                     <label style="width:100px">语言:</label>                                            
                     <input name="languages" class="easyui-box">                       
                   </div> 
        	  	   	 <div class="fitem">  
                     <label style="width:100px">性别:</label>  
                     <input class="easyui-combobox" " name="sex" style="width:200px;"  data-options="data:__getConstantCategory('SEX'),valueField:'code', textField:'value', multiple:false,panelHeight:'auto',mode:'remote' ">
                   </div>  	        	  	   	
	        		     <div class="fitem">  
                     <label style="width:100px">年龄范围:</label>                       
                     <input name="minAge" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">年龄范围:</label>                       
                     <input name="maxAge" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位其他要求:</label>                                            
                     <input name="otherRequire" class="easyui-box">                       
                   </div> 
        	  	   	 <div class="fitem">  
                     <label style="width:100px">工作地点:</label>  
                     <input class="easyui-combobox" " name="workLocation" style="width:200px;"  data-options="data:__getCategory('LOCATION'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                   </div>  	        	  	   	
	        		     <div class="fitem">  
                     <label style="width:100px">招聘人数:</label>                       
                     <input name="hireNum" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位开放时间:</label>                       
                     <input name="openD" data-options="formatter:formateDate"  class="easyui-datebox">                       
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位开放原因:</label>                                            
                     <input name="openResult" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">薪金报酬:</label>                                            
                     <input name="salary" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">部门岗位:</label>                       
                     <input name="titleId" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位联系人:</label>                       
                     <input name="hrContacter" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">收款联系人:</label>                       
                     <input name="arContacter" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">面试流程说明:</label>                                            
                     <input name="interviewerFlow" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">其他参考信息:</label>                                            
                     <input name="comment" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">创建人:</label>                                            
                     <input name="creator" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">创建时间:</label>                       
                     <input name="createDt" data-options="formatter:formateDate"  class="easyui-datebox">                       
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">修改人:</label>                                            
                     <input name="modifier" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">修改时间:</label>                       
                     <input name="modifiedDt" data-options="formatter:formateDate"  class="easyui-datebox">                       
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位编号:</label>                                            
                     <input name="jobNo" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">jobNature:</label>                                            
                     <input name="jobNature" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职责:</label>                                            
                     <input name="duty" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位要求:</label>                                            
                     <input name="requirement" class="easyui-box">                       
                   </div> 
        	  	   	 <div class="fitem">  
                     <label style="width:100px">职位状态:</label>  
                     <input class="easyui-combobox" " name="status" style="width:200px;"  data-options="data:__getConstantCategory('JobStatus'),valueField:'code', textField:'value', multiple:false,panelHeight:'auto',mode:'remote' ">
                   </div>  	        	  	   	
	        		     <div class="fitem">  
                     <label style="width:100px">关闭原因:</label>                                            
                     <input name="closeReason" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位上传文件:</label>                                            
                     <input name="jobFile" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位负责人:</label>                                            
                     <input name="jobManager" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位合作人:</label>                                            
                     <input name="jobCooper" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位助理:</label>                                            
                     <input name="jobAssist" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">预计offer时间:</label>                       
                     <input name="offerDt" data-options="formatter:formateDate"  class="easyui-datebox">                       
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">servicesCharge:</label>                       
                     <input name="servicesCharge" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">direct:</label>                                            
                     <input name="direct" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">是否在官网发布:</label>                       
                     <input name="isPub" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">审核人:</label>                                            
                     <input name="auditor" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">审核时间:</label>                       
                     <input name="auditDt" data-options="formatter:formateDate"  class="easyui-datebox">                       
                   </div>  	        		     
        </form>  
    </div>  
    <!-- edit form窗体（结束） -->  
    <!-- query form窗体(开始) -->  
    <div id="dlg_query" class="easyui-dialog" style="width:400px;height:280px;padding:10px 20px"  
            closed="true" buttons="#dlg-buttons-query">  
        <div class="ftitle">职位</div>  
        <form id="fm_query" method="post" novalidate>  
            
              
	        		     <div class="fitem">  
                     <label style="width:100px">BD客户id:</label>                       
                     <input name="custId" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">contractId:</label>                       
                     <input name="contractId" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位名:</label>                                            
                     <input name="name" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">关注度:</label>                       
                     <input name="dispLevel" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">trialMonths:</label>                       
                     <input name="trialMonths" class="easyui-numberbox">                       
                   </div>	        		     
        	  	   	 <div class="fitem">  
                     <label style="width:100px">行业id:</label>                                            
                     
                     
                     <input class="easyui-combobox" name="industry" style="width:200px;"  data-options="data:__getCategory('INDUSTRY'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                     
                   </div>      	
        	  	   	 <div class="fitem">  
                     <label style="width:100px">职能id:</label>                                            
                     
                     
                     <input class="easyui-combobox" name="function" style="width:200px;"  data-options="data:__getCategory('JOB'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                     
                   </div>      	
        	  	   	 <div class="fitem">  
                     <label style="width:100px">职级id:</label>                                            
                     
                     
                     <input class="easyui-combobox" name="level" style="width:200px;"  data-options="data:__getCategory('JOBLEVEL'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                     
                   </div>      	
	        		     <div class="fitem">  
                     <label style="width:100px">语言:</label>                                            
                     <input name="languages" class="easyui-box">                       
                   </div> 
        	  	   	 <div class="fitem">  
                     <label style="width:100px">性别:</label>                                            
                     
                     
                     <input class="easyui-combobox" name="sex" style="width:200px;"  data-options="data:__getConstantCategory('SEX'),valueField:'code', textField:'value', multiple:false,panelHeight:'auto',mode:'remote' ">
                     
                   </div>      	
	        		     <div class="fitem">  
                     <label style="width:100px">年龄范围:</label>                       
                     <input name="minAge" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">年龄范围:</label>                       
                     <input name="maxAge" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位其他要求:</label>                                            
                     <input name="otherRequire" class="easyui-box">                       
                   </div> 
        	  	   	 <div class="fitem">  
                     <label style="width:100px">工作地点:</label>                                            
                     
                     
                     <input class="easyui-combobox" name="workLocation" style="width:200px;"  data-options="data:__getCategory('LOCATION'),valueField:'id', textField:'codeNameCn', multiple:false,panelHeight:'auto',mode:'remote' ">
                     
                   </div>      	
	        		     <div class="fitem">  
                     <label style="width:100px">招聘人数:</label>                       
                     <input name="hireNum" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位开放时间:</label>                       
                     <input name="openD" data-options="formatter:formateDate" class="easyui-datebox">                         	
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位开放原因:</label>                                            
                     <input name="openResult" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">薪金报酬:</label>                                            
                     <input name="salary" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">部门岗位:</label>                       
                     <input name="titleId" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位联系人:</label>                       
                     <input name="hrContacter" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">收款联系人:</label>                       
                     <input name="arContacter" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">面试流程说明:</label>                                            
                     <input name="interviewerFlow" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">其他参考信息:</label>                                            
                     <input name="comment" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">创建人:</label>                                            
                     <input name="creator" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">创建时间:</label>                       
                     <input name="createDt" data-options="formatter:formateDate" class="easyui-datebox">                         	
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">修改人:</label>                                            
                     <input name="modifier" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">修改时间:</label>                       
                     <input name="modifiedDt" data-options="formatter:formateDate" class="easyui-datebox">                         	
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">职位编号:</label>                                            
                     <input name="jobNo" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">jobNature:</label>                                            
                     <input name="jobNature" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职责:</label>                                            
                     <input name="duty" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位要求:</label>                                            
                     <input name="requirement" class="easyui-box">                       
                   </div> 
        	  	   	 <div class="fitem">  
                     <label style="width:100px">职位状态:</label>                                            
                     
                     
                     <input class="easyui-combobox" name="status" style="width:200px;"  data-options="data:__getConstantCategory('JobStatus'),valueField:'code', textField:'value', multiple:false,panelHeight:'auto',mode:'remote' ">
                     
                   </div>      	
	        		     <div class="fitem">  
                     <label style="width:100px">关闭原因:</label>                                            
                     <input name="closeReason" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位上传文件:</label>                                            
                     <input name="jobFile" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位负责人:</label>                                            
                     <input name="jobManager" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位合作人:</label>                                            
                     <input name="jobCooper" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">职位助理:</label>                                            
                     <input name="jobAssist" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">预计offer时间:</label>                       
                     <input name="offerDt" data-options="formatter:formateDate" class="easyui-datebox">                         	
                   </div>  	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">servicesCharge:</label>                       
                     <input name="servicesCharge" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">direct:</label>                                            
                     <input name="direct" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">是否在官网发布:</label>                       
                     <input name="isPub" class="easyui-numberbox">                       
                   </div>	        		     
	        		     <div class="fitem">  
                     <label style="width:100px">审核人:</label>                                            
                     <input name="auditor" class="easyui-box">                       
                   </div> 
	        		     <div class="fitem">  
                     <label style="width:100px">审核时间:</label>                       
                     <input name="auditDt" data-options="formatter:formateDate" class="easyui-datebox">                         	
                   </div>  	        		     
              
              
        </form>  
    </div> 
    <!-- query form窗体(结束) -->  
    <div id="dlg-buttons">  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="save()">Save</a>  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#dlg').dialog('close')">关闭</a>  
    </div>  
    <div id="dlg-buttons-query">  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="query()">确定</a>  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#dlg_query').dialog('close')">关闭</a>  
    </div>  
    <script type="text/javascript">  
        var url;  
        function add(){         	 
            $('#dlg').dialog('open').dialog('setTitle','新增职位');  
            $('#fm').form('clear');  
            url = '/project/contractJob/save.do';  
        }  
        function edit(){  
            //var row = $('#dg').datagrid('getSelected');  
            var rows = $('#dg').datagrid('getSelections');
            if (!rows||rows.length==0){
            	 $.messager.alert('提示','请选择要修改的行','info');
            	 return;
            }
            if (!rows||rows.length>1){
            	 $.messager.alert('提示','不能选择多行','info');
            	 return;
            }
            if (rows){  
                $('#dlg').dialog('open').dialog('setTitle','修改职位');  
                //$('#fm').form('load',rows[0]);  
                $('#fm').form('load','/project/contractJob/get.do?id='+rows[0].id);  
                url = '/project/contractJob/update.do';
            }  
        }  
        function save(){          	   
        	  if (!$('#fm').form('validate')) return; 
            $('#fm').form('submit',{  
                url: url,  
                onSubmit: function(){  
                    return $(this).form('validate');  
                },  
                success: function(result){  
                    var result = eval('('+result+')');                      
                    if (result.success == true){  
                        $.messager.alert('信息',result.msg,'info');  
                        $('#dlg').dialog('close');      // close the dialog  
                        $('#dg').datagrid('reload');    // reload the user data  
                    } else {  
                        $.messager.alert('错误',result.msg,'error');
                    }  
                }  
            });  
        }  
        function deletes(){  
            var row = $('#dg').datagrid('getSelected');  
            
            var rows = $('#dg').datagrid('getSelections');  

            if (!rows||rows.length==0){
            	 $.messager.alert('提示','请选择要删除的行','info');
            	 return;
            }
            if (rows){  
                $.messager.confirm('重要提示','确定要删除?',function(r){  
                    if (r){  
                        $.post('/project/contractJob/delete.do',{ids:getRecordArray(rows,'id').join(',')},function(result){  
                            if (result.success){  
                                $('#dg').datagrid('reload');    // reload the user data  
                            } else {  
                                 
                                $.messager.alert('错误',result.errorMsg,'error'); 
                            }  
                        },'json');  
                    }  
                });  
            }  
        }  
        function find(){  
              
                $('#dlg_query').dialog('open').dialog('setTitle','查询');  
                
                url = '/project/contractJob/list.do';  
              
        } 
        	
        function query(){  
                
                //var aa=$('#fm_query').formSerialize();
                var formdata=$('#fm_query').formToArray();
                //var dd= JSON.stringify(cc); 
                
                if (!$('#fm_query').form('validate')) return; 
                $('#dg').datagrid({
	                  queryParams: array2json(formdata)
                });
               $('#dlg_query').dialog('close');
              
        }
        
        //生成grid的字段,需要字典的自动转换
        $('#dg').datagrid({
        	   columns:[[
        	   	
        	   	   {field:'custId',title:'BD客户id', width:100}
        	   	   ,{field:'contractId',title:'contractId', width:100}
        	   	   ,{field:'name',title:'职位名', width:100}
        	   	   ,{field:'dispLevel',title:'关注度', width:100}
        	   	   ,{field:'trialMonths',title:'trialMonths', width:100}
        	   	   ,{field:'industry',title:'行业id', width:100,
        	   		      formatter: function(value,row,index){
        	   		      	return __getCategroyCodeValue('INDUSTRY', value);
        	   		      }
        	   	     }
        	   	   ,{field:'function',title:'职能id', width:100,
        	   		      formatter: function(value,row,index){
        	   		      	return __getCategroyCodeValue('JOB', value);
        	   		      }
        	   	     }
        	   	   ,{field:'level',title:'职级id', width:100,
        	   		      formatter: function(value,row,index){
        	   		      	return __getCategroyCodeValue('JOBLEVEL', value);
        	   		      }
        	   	     }
        	   	   ,{field:'languages',title:'语言', width:100}
        	   	   ,{field:'sex',title:'性别', width:100,
        	   		      formatter: function(value,row,index){
        	   		      	return __getConstantCategoryCodeValue('SEX', value);
        	   		      }
        	   	     }
        	   	   ,{field:'minAge',title:'年龄范围', width:100}
        	   	   ,{field:'maxAge',title:'年龄范围', width:100}
        	   	   ,{field:'otherRequire',title:'职位其他要求', width:100}
        	   	   ,{field:'workLocation',title:'工作地点', width:100,
        	   		      formatter: function(value,row,index){
        	   		      	return __getCategroyCodeValue('LOCATION', value);
        	   		      }
        	   	     }
        	   	   ,{field:'hireNum',title:'招聘人数', width:100}
        	   	   ,{field:'openD',title:'职位开放时间', width:100}
        	   	   ,{field:'openResult',title:'职位开放原因', width:100}
        	   	   ,{field:'salary',title:'薪金报酬', width:100}
        	   	   ,{field:'titleId',title:'部门岗位', width:100}
        	   	   ,{field:'hrContacter',title:'职位联系人', width:100}
        	   	   ,{field:'arContacter',title:'收款联系人', width:100}
        	   	   ,{field:'interviewerFlow',title:'面试流程说明', width:100}
        	   	   ,{field:'comment',title:'其他参考信息', width:100}
        	   	   ,{field:'creator',title:'创建人', width:100}
        	   	   ,{field:'createDt',title:'创建时间', width:100}
        	   	   ,{field:'modifier',title:'修改人', width:100}
        	   	   ,{field:'modifiedDt',title:'修改时间', width:100}
        	   	   ,{field:'jobNo',title:'职位编号', width:100}
        	   	   ,{field:'jobNature',title:'jobNature', width:100}
        	   	   ,{field:'duty',title:'职责', width:100}
        	   	   ,{field:'requirement',title:'职位要求', width:100}
        	   	   ,{field:'status',title:'职位状态', width:100,
        	   		      formatter: function(value,row,index){
        	   		      	return __getConstantCategoryCodeValue('JobStatus', value);
        	   		      }
        	   	     }
        	   	   ,{field:'closeReason',title:'关闭原因', width:100}
        	   	   ,{field:'jobFile',title:'职位上传文件', width:100}
        	   	   ,{field:'jobManager',title:'职位负责人', width:100}
        	   	   ,{field:'jobCooper',title:'职位合作人', width:100}
        	   	   ,{field:'jobAssist',title:'职位助理', width:100}
        	   	   ,{field:'offerDt',title:'预计offer时间', width:100}
        	   	   ,{field:'servicesCharge',title:'servicesCharge', width:100}
        	   	   ,{field:'direct',title:'direct', width:100}
        	   	   ,{field:'isPub',title:'是否在官网发布', width:100}
        	   	   ,{field:'auditor',title:'审核人', width:100}
        	   	   ,{field:'auditDt',title:'审核时间', width:100}
        	   	
        	   	
        	   ]]
        	   ,onDblClickRow: function(rowIndex, rowData){
        	    	$('#dlg').dialog('open').dialog('setTitle','修改职位');                  
                $('#fm').form('load','/project/contractJob/get.do?id='+rowData.id);  
                url = '/project/contractJob/update.do';        	    	
        	    }
        }); 
        //完成-生成grid的字段
        
        
        
    </script>  
     
     

     
     
     
</body>  
</html>